package com.ruiysoft.controller.wx.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by 化增光 on 2018/11/24.
 */

public class OrderPaidDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty("resultCode")
    private String resultCode = null;

    @JsonProperty("transactionNo")
    private String transactionNo = null;

    @JsonProperty("transactionId")
    private String transactionId = null;
    /**
     * @see OrderPay.payType
     */
    @JsonProperty("payType")
    private Integer payType;

    @JsonProperty("payAmount")
    private BigDecimal payAmount = null;

    @JsonProperty("errorMessage")
    private String errorMessage = null;

    @JsonProperty("payTime")
    private Date payTime = null;

    public String getResultCode() {
        return resultCode;
    }

    public OrderPaidDto setResultCode(String resultCode) {
        this.resultCode = resultCode;
        return this;
    }

    public String getTransactionNo() {
        return transactionNo;
    }

    public OrderPaidDto setTransactionNo(String transactionNo) {
        this.transactionNo = transactionNo;
        return this;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public OrderPaidDto setTransactionId(String transactionId) {
        this.transactionId = transactionId;
        return this;
    }

    public Integer getPayType() {
        return payType;
    }

    public OrderPaidDto setPayType(Integer payType) {
        this.payType = payType;
        return this;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public OrderPaidDto setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
        return this;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public OrderPaidDto setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
        return this;
    }

    public Date getPayTime() {
        return payTime;
    }

    public OrderPaidDto setPayTime(Date payTime) {
        this.payTime = payTime;
        return this;
    }
}
